feat(ci): add changed-file scoped test selection with full-suite fallback (#243)#274
Open
divyansha12 wants to merge 3 commits into
Open
feat(ci): add changed-file scoped test selection with full-suite fallback (#243)#274divyansha12 wants to merge 3 commits into
divyansha12 wants to merge 3 commits into
Conversation
…patibility - Add new integration tests in testing/backend/integration/test_chaos_execution.py - Fix Python version compatibility issues in testing/test_python.sh to use Python 3.11+ - Format codebase using black to comply with pre-commit static checks - Recalculate and update integrity checksums for all 60 plugins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR resolves #243 by introducing a production-grade CI optimization pipeline. It adds a deterministic file classification script
select_tests.pythat maps changed files to frontend/backend/plugin test subsets, allowing GHA to run fast checks first and skip slow builds/tests where possible, while maintaining a safe fallback to the full suite for shared or configuration edits.Related Issues
Closes #243
Type of Change
How Has This Been Tested?
testing/backend/unit/test_select_tests.pyto cover success, mixed, fallback, and empty file list paths.pytest testing/backend/unit/test_select_tests.py -v(100% passed)../testing/test_python.sh(all 349 tests passed).Checklist
🟢 GSSoC note – I’m a GSSoC contributor. All checks are passing; please add the
gssoc:approvedlabel when merging.